package com.bei_en.teacher.admin.model.questions.condition;

import java.util.*;

import com.bei_en.teacher.admin.model.BaseCondition;

import javax.validation.constraints.*;

import org.hibernate.validator.constraints.*;

import java.math.BigDecimal;

/**
 * 用于list页面的查询条件
 * 
 * @author Guocg
 * @date 2016-8-18 9:18:37
 */
public class QuestionsTypeQueryCondition extends QuestionsTypeCondition {

    private Date createTime1;   //生成时间起
    private Date createTime2;   //止
//    private Boolean isDel = false;
	private String name;  // 名字
//	@NotNull(message="id不能为空")
	private Integer parent;  // 父id
	@NotNull(message="类型不能为空")
	private Integer type;  // 类型 1是题 2是真题
	//@NotNull(message="类型不能为空")
	private Integer provinceId;  //   省
	//@NotNull(message="市不能为空")
	private Integer cityId;  //  市
	//@NotNull(message=" 区不能为空")
	private Integer areaId;  //   区
	//@NotNull(message="所属教育不能为空")
	private Integer educationId;  // 所属教育程度
	//@NotNull(message="科目不能为空")
	private Integer subjectId;  //  所属科目
	private String yearlike;
	private Integer sortMode;//1是综合2是出题率3是题数4是人数
	public String getYearlike() {
		return yearlike;
	}

	public void setYearlike(String yearlike) {
		this.yearlike = yearlike;
	}

	public Integer getSortMode() {
		return sortMode;
	}

	public void setSortMode(Integer sortMode) {
		this.sortMode = sortMode;
	}


	public void setName(String value) {
		this.name = value;
	}
	
	public String getName() {
		return this.name;
	}
	public void setParent(Integer value) {
		this.parent = value;
	}
	
	public Integer getParent() {
		return this.parent;
	}
	public void setType(Integer value) {
		this.type = value;
	}
	
	public Integer getType() {
		return this.type;
	}
	public void setProvinceId(Integer value) {
		this.provinceId = value;
	}
	
	public Integer getProvinceId() {
		return this.provinceId;
	}
	public void setCityId(Integer value) {
		this.cityId = value;
	}
	
	public Integer getCityId() {
		return this.cityId;
	}
	public void setAreaId(Integer value) {
		this.areaId = value;
	}
	
	public Integer getAreaId() {
		return this.areaId;
	}

	public void setEducationId(Integer value) {
		this.educationId = value;
	}
	
	public Integer getEducationId() {
		return this.educationId;
	}
	public void setSubjectId(Integer value) {
		this.subjectId = value;
	}
	
	public Integer getSubjectId() {
		return this.subjectId;
	}
    public Date getCreateTime1() {

	return createTime1;
    }

    public void setCreateTime1(Date createTime1) {

	this.createTime1 = createTime1;
    }

    public Date getCreateTime2() {

	return createTime2;
    }

    public void setCreateTime2(Date createTime2) {

	this.createTime2 = createTime2;
    }

//    public Boolean getIsDel() {
//
//	return isDel;
//    }
//
//    public void setIsDel(Boolean isDel) {
//
//	this.isDel = isDel;
//    }


}